package com.theme.common.third.weather;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "weather.auth.config")
@Data
public class WeatherProperties {

    private String key;

    private String keyId;

    private String teamId;

    private String bundleId;

    /**
     * 单位秒
     */
    private Integer tokenTTL;

    private String languageCode;

    private String timezone;

    private String weatherEndpoint;

    private String availabilityEndpoint;

}
